function [Error] = LocationError(X,Y,i,j)

Error = sqrt( (X(i,1) - Y(1,2) )^2 + ( X(i,2) - Y(1,3) )^2);

end